
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-duanxin"></i>
                    <div class="name">短信</div>
                    <div class="fontclass">.icon-duanxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinxi"></i>
                    <div class="name">信息</div>
                    <div class="fontclass">.icon-xinxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangqu"></i>
                    <div class="name">想去</div>
                    <div class="fontclass">.icon-xiangqu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daohang"></i>
                    <div class="name">导航</div>
                    <div class="fontclass">.icon-daohang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dizhi"></i>
                    <div class="name">地址</div>
                    <div class="fontclass">.icon-dizhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianping"></i>
                    <div class="name">点评</div>
                    <div class="fontclass">.icon-dianping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-geren"></i>
                    <div class="name">个人</div>
                    <div class="fontclass">.icon-geren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanbi"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-guanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kanguo"></i>
                    <div class="name">看过</div>
                    <div class="fontclass">.icon-kanguo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiesuo"></i>
                    <div class="name">解锁</div>
                    <div class="fontclass">.icon-jiesuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wuxianwangluo"></i>
                    <div class="name">无线网络</div>
                    <div class="fontclass">.icon-wuxianwangluo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangqu1"></i>
                    <div class="name">想去</div>
                    <div class="fontclass">.icon-xiangqu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youji"></i>
                    <div class="name">游记</div>
                    <div class="fontclass">.icon-youji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zan"></i>
                    <div class="name">赞</div>
                    <div class="fontclass">.icon-zan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-listview"></i>
                    <div class="name">list view</div>
                    <div class="fontclass">.icon-listview</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tupian"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-tupian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabshouqi"></i>
                    <div class="name">tab_收起</div>
                    <div class="fontclass">.icon-tabshouqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sousuo"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-sousuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tupian1"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-tupian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xitongcaidan"></i>
                    <div class="name">系统菜单</div>
                    <div class="fontclass">.icon-xitongcaidan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xitongfanhui"></i>
                    <div class="name">系统返回</div>
                    <div class="fontclass">.icon-xitongfanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zonghe"></i>
                    <div class="name">综合</div>
                    <div class="fontclass">.icon-zonghe</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxiang"></i>
                    <div class="name">分享</div>
                    <div class="fontclass">.icon-fenxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radiobutton"></i>
                    <div class="name">radio button</div>
                    <div class="fontclass">.icon-radiobutton</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radiobutton2"></i>
                    <div class="name">radio button_2</div>
                    <div class="fontclass">.icon-radiobutton2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pinglun"></i>
                    <div class="name">评论</div>
                    <div class="fontclass">.icon-pinglun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bianji"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xitongfanhui1"></i>
                    <div class="name">系统返回</div>
                    <div class="fontclass">.icon-xitongfanhui1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xitongcaidan1"></i>
                    <div class="name">系统菜单</div>
                    <div class="fontclass">.icon-xitongcaidan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouqi"></i>
                    <div class="name">收起</div>
                    <div class="fontclass">.icon-shouqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiala"></i>
                    <div class="name">下拉</div>
                    <div class="fontclass">.icon-xiala</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiayibu"></i>
                    <div class="name">下一步</div>
                    <div class="fontclass">.icon-xiayibu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-geren2"></i>
                    <div class="name">个人_2</div>
                    <div class="fontclass">.icon-geren2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gerenfill"></i>
                    <div class="name">个人_fill</div>
                    <div class="fontclass">.icon-gerenfill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-haoping"></i>
                    <div class="name">好评</div>
                    <div class="fontclass">.icon-haoping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lianjie"></i>
                    <div class="name">链接</div>
                    <div class="fontclass">.icon-lianjie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucangfill"></i>
                    <div class="name">收藏_fill</div>
                    <div class="fontclass">.icon-shoucangfill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouyefill"></i>
                    <div class="name">首页_fill</div>
                    <div class="fontclass">.icon-shouyefill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tixing"></i>
                    <div class="name">提醒</div>
                    <div class="fontclass">.icon-tixing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangqufill"></i>
                    <div class="name">想去_fill</div>
                    <div class="fontclass">.icon-xiangqufill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zanfill"></i>
                    <div class="name">赞_fill</div>
                    <div class="fontclass">.icon-zanfill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-roundadd"></i>
                    <div class="name">round_add</div>
                    <div class="fontclass">.icon-roundadd</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-roundclosefill"></i>
                    <div class="name">round_close_fill</div>
                    <div class="fontclass">.icon-roundclosefill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duogouwu"></i>
                    <div class="name">多购物</div>
                    <div class="fontclass">.icon-duogouwu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shaogouwu"></i>
                    <div class="name">少购物</div>
                    <div class="fontclass">.icon-shaogouwu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dangdi"></i>
                    <div class="name">当地</div>
                    <div class="fontclass">.icon-dangdi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabshouqi1"></i>
                    <div class="name">tab_收起</div>
                    <div class="fontclass">.icon-tabshouqi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tabxiala"></i>
                    <div class="name">tab_下拉</div>
                    <div class="fontclass">.icon-tabxiala</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-suoding"></i>
                    <div class="name">锁定</div>
                    <div class="fontclass">.icon-suoding</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zengjia"></i>
                    <div class="name">增加</div>
                    <div class="fontclass">.icon-zengjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuyi"></i>
                    <div class="name">注意</div>
                    <div class="fontclass">.icon-zhuyi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-roundclose"></i>
                    <div class="name">round_close</div>
                    <div class="fontclass">.icon-roundclose</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radiobutton21"></i>
                    <div class="name">radio button_2</div>
                    <div class="fontclass">.icon-radiobutton21</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bankexing"></i>
                    <div class="name">半颗星</div>
                    <div class="fontclass">.icon-bankexing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bingbao"></i>
                    <div class="name">冰雹</div>
                    <div class="fontclass">.icon-bingbao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mai"></i>
                    <div class="name">霾</div>
                    <div class="fontclass">.icon-mai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wu"></i>
                    <div class="name">雾</div>
                    <div class="fontclass">.icon-wu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zans"></i>
                    <div class="name">赞_S</div>
                    <div class="fontclass">.icon-zans</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kanguos"></i>
                    <div class="name">看过_S</div>
                    <div class="fontclass">.icon-kanguos</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-listzuhe"></i>
                    <div class="name">list_组合</div>
                    <div class="fontclass">.icon-listzuhe</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanzhengma"></i>
                    <div class="name">验证码</div>
                    <div class="fontclass">.icon-yanzhengma</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
